CTooltipSupport Class Reference
Generic Tooltip Support class.
More...
List of all members.
Detailed Description
Generic Tooltip Support class.
A generic way to add tooltip support to VSTGUI.
Adding a tooltip to a view
UTF8StringPtr tooltipText = "This is a tooltip";
view->setAttribute (kCViewTooltipAttribute, strlen (tooltipText)+1, tooltipText);
Adding CTooltipSupport is done via VSTGUI::CFrame::enableTooltips (true)
Member Enumeration Documentation
anonymous enum [protected] |
- Enumerator:
kHidden |
|
kVisible |
|
kHiding |
|
kShowing |
|
kForceVisible |
|
Constructor & Destructor Documentation
- Parameters:
-
| frame | CFrame object |
| delay | tooltip delay time in milliseconds |
Member Function Documentation
virtual void forget |
( |
|
) |
[inline, virtual, inherited] |
decrease refcount and delete object if refcount == 0
virtual int32_t getNbReference |
( |
|
) |
const [inline, virtual, inherited] |
void onMouseDown |
( |
const CPoint & |
where |
) |
|
void onMouseEntered |
( |
CView * |
view |
) |
|
void onMouseExited |
( |
CView * |
view |
) |
|
void onMouseMoved |
( |
const CPoint & |
where |
) |
|
virtual void remember |
( |
|
) |
[inline, virtual, inherited] |
bool showTooltip |
( |
|
) |
[protected] |
Member Data Documentation
int32_t delay [protected] |
int32_t state [protected] |
The documentation for this class was generated from the following files:
- ctooltipsupport.h
- ctooltipsupport.cpp